﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCP/admincp.Master" AutoEventWireup="true"
    CodeBehind="Properties.aspx.cs" Inherits="VINETLIFE.AdminCP.Properties" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        <asp:Literal runat="server" ID="ltrAction"></asp:Literal></h2>
    <div runat="server" id="divDanhMuc">
        <table class="tablet">
            <tr>
                <td>
                    Danh mục thuộc tính
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="dropCate" AppendDataBoundItems="true">
                        <asp:ListItem Text=".: Loại thuộc tính :." Value="0"></asp:ListItem>
                        <asp:ListItem Text=".: Thuộc tính xe đạp :." Value="1"></asp:ListItem>
                        <asp:ListItem Text=".: Thuộc tính phụ kiện :." Value="2"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Tên thuộc tính
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtPropertyName" Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                        ForeColor="Red" ControlToValidate="txtPropertyName" ValidationGroup="vlCate"></asp:RequiredFieldValidator>
                </td>
                <%--<td>
                    Mã thuộc tính
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtPropertyCode" Width="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator Enabled="false" ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                        ForeColor="Red" ControlToValidate="txtPropertyCode" ValidationGroup="vlCate"></asp:RequiredFieldValidator>
                </td>--%>
            </tr>
            <tr>
                <td>
                    Thuộc tính cha
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlParentCate" AppendDataBoundItems="true">
                        <asp:ListItem Text=".: Thuộc tính gốc :." Value="0"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Số thứ tự
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtOrder" Text="0" Width="50px"></asp:TextBox>
                    <asp:FilteredTextBoxExtender ID="txtOrder_FilteredTextBoxExtender" FilterType="Numbers"
                        runat="server" Enabled="True" TargetControlID="txtOrder">
                    </asp:FilteredTextBoxExtender>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button runat="server" ID="btnLuuDanhMuc" Text="Lưu danh mục" CssClass="button-gg-green"
                        ValidationGroup="vlCate" OnClick="btnLuuDanhMuc_Click" />
                    <a href="ListProperty.aspx" class="button-gg-green">Về trang danh sách thuộc tính</a>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
